import Vue from 'vue'
import Router from 'vue-router'
import index from '@/components/index'
import login from '@/components/login/loginIndex'
import member from '@/components/member/memberIndex'
import reward from '@/components/reward/rewardIndex'
import shifts from '@/components/shifts/shiftsIndex'
import payment from '@/components/payment/payment'
import backlog from '@/components/backlog/backlog'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path:'/',
      name:'login',
      component:login
    },{
      path: '/index',
      name: 'index',
      component: index
    },{
      path: '/member',
      name: 'member',
      component: member
    },{
      path: '/reward',
      name: 'reward',
      component: reward
    },{
      path: '/shifts',
      name: 'shifts',
      component: shifts
    },{
      path: '/payment',
      name: 'payment',
      component: payment
    },{
      path: '/backlog',
      name: 'backlog',
      component: backlog
    }
  ]
})
